package com.atguigu.gmall.common.config.minio;

import com.atguigu.gmall.common.config.minio.config.MinioConfiguration;
import com.atguigu.gmall.common.config.minio.properties.MinioProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@EnableConfigurationProperties({MinioProperties.class})
//1、将MinioProperties和配置文件绑定
//2、MinioProperties注册到容器中
@Import(MinioConfiguration.class)
@Configuration
public class MinioAutoConfiguration {
}
